<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>Pager.class.js"></script>
<script type="text/javascript">
var pager = new Pager();
pager.model = "?m=admin&c=adminmanage";
function init_page(){
	var url = window.location.pathname;
	$.ajax({
		url:url,
		data:set_ajx_url('m=admin&c=adminmanage&a=ajx_init'),
		type:'get',
		dataType:'json',
		success:function(data){
		pager.setEdit();
		pager.setDel();		
		$('#main_tbody').html(pager.getPageTable(data["page_head"],data["page_data"]));
		$('.main_foot_wraper').html(pager.getPageState(data["page_state"]));
		}
	});
}
</script>
<body onLoad="init_page()"> 
<div class="main_head">
		<span class="main_head_title">管理员管理</span>	
		<a href="?m=admin&c=adminmanage&a=add"><span class="main_head_btn">新&nbsp;&nbsp;增</span></a>	
</div>
<div class="main_wraper">
<table border="0" cellpadding="0" cellspacing="0" class="main_table">
	<thead>
		<tr class="main_table_header">
			<th width="4%">序号</th>
			<th width="5%">用户名</th>
			<th width="10%">角色</th>
			<th width="12%">最后登录IP</th>
			<th width="12%">最后登录时间</th>
			<th width="12%">E-mail</th>
			<th width="10%">真实姓名</th>
			<th width="10%" colspan=2>操作</th>						
		</tr>
	</thead>
	<tbody id = "main_tbody">
	
	</tbody>
</table>
</div>
<div class="main_foot_wraper">

</div>
</body>
</html>